﻿using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;
using UnityEngine.UI;

namespace ProjScan.ScanRule.ProjectAssets.Prefab
{
    [PrefabRuleAttr]
    internal class UIImage_Tiled : RecordRuleImp<ImageAssetData, ImageRecordManager>
    {
        protected override bool IsOK(ImageAssetData assetData)
        {
            return assetData.imageType != Image.Type.Tiled;
        }
    }
}